package cn.wjssl.infrastructure.persistent.dao;

import cn.wjssl.infrastructure.persistent.po.RuleTreeNodePO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 决策树节点
 */
@Mapper
public interface IRuleTreeNodeDao {

    // 根据树Id, 查询该树的所有节点信息
    List<RuleTreeNodePO> queryRuleTreeNodeListByTreeId(String treeId);

    // 根据treeId, 查询规则是rule_lock的节点对应的rule_value
    List<RuleTreeNodePO> queryAwardRuleLockCount(String[] treeIds);
}
